<extend name="Public:index" />
<block name="left">
	<ul class="ul">
		<li><a href="{:U('admin/Info/activity')}">活动添加</a></li>
		<li><a href="{:U('admin/Info/acinfo')}">活动详情</a></li>
	</ul>	
</block>
<block name="right">
	<script type="text/javascript" src="__JS__/jedate/jedate.js"></script>
	<form method="post" action="{:U('admin/Info/activity')}" role="form">
		<div class="form-group">
			<label for="exampleInputEmail1" style="margin-bottom:20px;">产品名称</label>
			<input type="text" name="chanpin" placeholder="请输入产品名称" class="form-control" id="exampleInputEmail1">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1" style="margin-bottom:20px;">产品价格</label>
			<input type="text" name="price" placeholder="请输入产品单价(元)" class="form-control" id="exampleInputEmail1"/>
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1" style="margin-bottom:20px;">快递费用</label>
			<input type="text" name="express" placeholder="请输入快递费用(元)" class="form-control" id="exampleInputEmail1"/>
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1" style="margin-bottom:20px;">结束时间
				<input class="datainp" id="dateinfo" type="text" placeholder="请选择" name="time" readonly >
			</label>
		</div>
		<input type="submit" value="添加" class="add_act">
	</form>
	<script type="text/javascript">
		jeDate({
			dateCell:"#dateinfo",
			format:"YYYY-MM-DD hh:mm:ss",
			isinitVal:true,
		isTime:true, //isClear:false,
		minDate:"2014-09-19 00:00:00",
		/*okfun:function(val){alert(val)}*/
	})

    //alert("YYYY/MM".match(/\w+|d+/g).join("-"))
</script>
</block>